package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("order_detail_left_order_apply")
@ApiModel(value = "OrderDetailLeftOrderApply对象", description = "VIEW")
public class OrderDetailLeftOrderApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("校区id")
    private Long schoolId;

    @ApiModelProperty("学生id")
    private Long studentId;

    @ApiModelProperty("课程id")
    private Long courseId;

    @ApiModelProperty("课程名称")
    private String courseName;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    @ApiModelProperty("班级id")
    private Long gradeId;

    @ApiModelProperty("班级名称")
    private String gradeName;

    @ApiModelProperty("价格id(对应course_pricing表)")
    private Long coursePriceId;

    @ApiModelProperty("价格详细")
    private String coursePriceName;

    @ApiModelProperty("数量")
    private Integer count;

    @ApiModelProperty("共多少课时")
    private Integer allCourseCount;

    @ApiModelProperty("使用课时")
    private Integer useCourseCount;

    @ApiModelProperty("剩余课时")
    private Integer residueCourseCount;

    @ApiModelProperty("上课累计使用金额")
    private BigDecimal usePrice;

    @ApiModelProperty("累计退出金额")
    private BigDecimal outPrice;

    @ApiModelProperty("累计退出课时")
    private Integer outHouse;

    @ApiModelProperty("应收金额(原价)")
    private BigDecimal price;

    @ApiModelProperty("实收金额")
    private BigDecimal solidPrice;

    @ApiModelProperty("优惠金额")
    private BigDecimal discountsPrice;

    @ApiModelProperty("报读类型：1新报，2续费，3扩科，0无")
    private Integer enrollType;

    @ApiModelProperty("教材费（暂时不要此字段）")
    private BigDecimal textBookPrice;

    @ApiModelProperty("有效期")
    private String validityDate;

    @ApiModelProperty("对内备注")
    private String innerRemark;

    @ApiModelProperty("对外备注")
    private String outerRemark;

    @ApiModelProperty("创建人id")
    private Long createdId;

    private Integer deleted;

    @ApiModelProperty("状态：0无，1确认到账，2订单作废")
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }
    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }
    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }
    public Long getSubjectsId() {
        return subjectsId;
    }

    public void setSubjectsId(Long subjectsId) {
        this.subjectsId = subjectsId;
    }
    public Long getGradeId() {
        return gradeId;
    }

    public void setGradeId(Long gradeId) {
        this.gradeId = gradeId;
    }
    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }
    public Long getCoursePriceId() {
        return coursePriceId;
    }

    public void setCoursePriceId(Long coursePriceId) {
        this.coursePriceId = coursePriceId;
    }
    public String getCoursePriceName() {
        return coursePriceName;
    }

    public void setCoursePriceName(String coursePriceName) {
        this.coursePriceName = coursePriceName;
    }
    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
    public Integer getAllCourseCount() {
        return allCourseCount;
    }

    public void setAllCourseCount(Integer allCourseCount) {
        this.allCourseCount = allCourseCount;
    }
    public Integer getUseCourseCount() {
        return useCourseCount;
    }

    public void setUseCourseCount(Integer useCourseCount) {
        this.useCourseCount = useCourseCount;
    }
    public Integer getResidueCourseCount() {
        return residueCourseCount;
    }

    public void setResidueCourseCount(Integer residueCourseCount) {
        this.residueCourseCount = residueCourseCount;
    }
    public BigDecimal getUsePrice() {
        return usePrice;
    }

    public void setUsePrice(BigDecimal usePrice) {
        this.usePrice = usePrice;
    }
    public BigDecimal getOutPrice() {
        return outPrice;
    }

    public void setOutPrice(BigDecimal outPrice) {
        this.outPrice = outPrice;
    }
    public Integer getOutHouse() {
        return outHouse;
    }

    public void setOutHouse(Integer outHouse) {
        this.outHouse = outHouse;
    }
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    public BigDecimal getSolidPrice() {
        return solidPrice;
    }

    public void setSolidPrice(BigDecimal solidPrice) {
        this.solidPrice = solidPrice;
    }
    public BigDecimal getDiscountsPrice() {
        return discountsPrice;
    }

    public void setDiscountsPrice(BigDecimal discountsPrice) {
        this.discountsPrice = discountsPrice;
    }
    public Integer getEnrollType() {
        return enrollType;
    }

    public void setEnrollType(Integer enrollType) {
        this.enrollType = enrollType;
    }
    public BigDecimal getTextBookPrice() {
        return textBookPrice;
    }

    public void setTextBookPrice(BigDecimal textBookPrice) {
        this.textBookPrice = textBookPrice;
    }
    public String getValidityDate() {
        return validityDate;
    }

    public void setValidityDate(String validityDate) {
        this.validityDate = validityDate;
    }
    public String getInnerRemark() {
        return innerRemark;
    }

    public void setInnerRemark(String innerRemark) {
        this.innerRemark = innerRemark;
    }
    public String getOuterRemark() {
        return outerRemark;
    }

    public void setOuterRemark(String outerRemark) {
        this.outerRemark = outerRemark;
    }
    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "OrderDetailLeftOrderApply{" +
            "id=" + id +
            ", orderId=" + orderId +
            ", schoolId=" + schoolId +
            ", studentId=" + studentId +
            ", courseId=" + courseId +
            ", courseName=" + courseName +
            ", subjectsId=" + subjectsId +
            ", gradeId=" + gradeId +
            ", gradeName=" + gradeName +
            ", coursePriceId=" + coursePriceId +
            ", coursePriceName=" + coursePriceName +
            ", count=" + count +
            ", allCourseCount=" + allCourseCount +
            ", useCourseCount=" + useCourseCount +
            ", residueCourseCount=" + residueCourseCount +
            ", usePrice=" + usePrice +
            ", outPrice=" + outPrice +
            ", outHouse=" + outHouse +
            ", price=" + price +
            ", solidPrice=" + solidPrice +
            ", discountsPrice=" + discountsPrice +
            ", enrollType=" + enrollType +
            ", textBookPrice=" + textBookPrice +
            ", validityDate=" + validityDate +
            ", innerRemark=" + innerRemark +
            ", outerRemark=" + outerRemark +
            ", createdId=" + createdId +
            ", deleted=" + deleted +
            ", status=" + status +
        "}";
    }
}
